﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Opennav.MapGenerator.Map.Roads
{
    /// <summary>
    /// Represents a restriction where the road 'to' cannot be accessed
    /// when coming from road 'from'.
    /// </summary>
    public class RoadRestriction
    {
        public RoadRestriction(RoadSegment from, RoadSegment to)
        {
            this.From = from;
            this.To = to;
        }

        public RoadSegment From { get; set; }

        public RoadSegment To { get; set; }
    }
}
